<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Manage | 用户管理</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Pace -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/plugins/pace-master/themes/blue/pace-theme-flash.css">
    <script type="text/javascript" src="../../plugins/AdminLTE/plugins/pace-master/pace.min.js"></script>
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/dist/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/dist/css/ionicons.min.css">
    <!-- daterangepicker -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/plugins/daterangepicker/daterangepicker.css">
    <!-- bootstrap table -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/plugins/bootstrap-table/bootstrap-table.css">
    <!-- treeview -->
    <link rel="stylesheet" href="../../plugins/treeview/bootstrap-treeview.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../plugins/AdminLTE/dist/css/AdminLTE.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<section class="content-header">
    <h1>
        用户管理
    </h1>
    <ol class="breadcrumb">
        <li><i class="fa fa-home"></i> Home</li>
        <li>组织架构</li>
        <li>用户管理</li>
    </ol>
</section>

<section class="content">
    <div class="box box-primary collapsed-box">
        <div class="box-header no-border">
            <div class="box-tools pull-right">
                <button style="margin-top: -10px;" type="button" class="btn btn-box-tool" data-widget="collapse">
                    <i class="fa fa-plus"></i>查询
                </button>
            </div>
        </div>
        <div class="box-body no-border">
            <form onsubmit="return false" class="form-inline col-xs-12" style="line-height: 40px; margin-bottom: 5px;">
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">所属机构</div>
                        <input style="display: none" name="organizationId" type="text" class="form-control">
                        <input name="organizationName" type="text" readonly class="form-control">
                        <div data-toggle="modal" data-target="#organTreeModal" class="input-group-addon btn"><i
                                class="fa fa-search"></i></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">担任角色</div>
                        <select id="roles" name="roleId" class="form-control"></select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">用户类型</div>
                        <select id="user_type" name="type" class="form-control"></select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">用户名</div>
                        <input name="username" type="text" class="form-control">
                        <div class="input-group-addon"><i class="fa fa-user"></i></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">登录账号</div>
                        <input name="account" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">邮箱</div>
                        <input name="mailbox" type="text" class="form-control">
                        <div class="input-group-addon"><i class="fa fa-envelope"></i></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">手机号码</div>
                        <input name="phone" type="text" class="form-control">
                        <div class="input-group-addon"><i class="fa fa-mobile-phone"></i></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">办公电话</div>
                        <input name="officePhone" type="text" class="form-control">
                        <div class="input-group-addon"><i class="fa fa-phone"></i></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">状态</div>
                        <select name="status" class="form-control">
                            <option value=""></option>
                            <option value="1">正常</option>
                            <option value="2">锁定</option>
                            <option value="3">停用</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="input-group">
                        <div class="input-group-addon">创建时间</div>
                        <input name="createTime" type="text" class="form-control" style="width: 260px">
                        <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                    </div>
                </div>
                <button onclick="searchByCondition()" type="button" class="btn btn-primary">查询</button>
                <button type="reset" class="btn btn-danger">重置</button>
            </form>
        </div>
    </div>
    <div class="btn-group" id="toolbar">
        <button onclick="top.addTabs({id:'user-add-panel',title: '添加用户',close: true,url: 'pages/organization/user-info.html',urlType: 'relative'});"
                type="button" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i>添加
        </button>
    </div>
    <table id="users_data" class="table-bordered table-condensed"></table>
</section>

<div id="organTreeModal" class="modal fade">
    <div class="modal-dialog" style="width: 290px;">
        <div class="modal-content">
            <div class="modal-header">
                <div class="pull-right">
                    <button type="button" class="btn btn-xs btn-primary" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">确认</span></button>
                </div>
                <h4 class="modal-title">选择机构</h4>
            </div>
            <div class="modal-body" style="width: 290px; max-height: 310px; overflow-y: scroll">
                <div id="organTree"></div>
            </div>
        </div>
    </div>
</div>

<!-- jQuery 2.2.3 -->
<script src="../../plugins/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI -->
<script src="../../plugins/AdminLTE/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../../plugins/AdminLTE/bootstrap/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="../../plugins/AdminLTE/plugins/fastclick/fastclick.js"></script>
<!-- daterangepicker -->
<script src="../../plugins/AdminLTE/plugins/daterangepicker/moment.js"></script>
<script src="../../plugins/AdminLTE/plugins/daterangepicker/daterangepicker.js"></script>
<!-- bootstrap table -->
<script src="../../plugins/AdminLTE/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="../../plugins/AdminLTE/plugins/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<!--export-->
<script src="../../plugins/export/tableExport.js"></script>
<script src="../../plugins/export/bootstrap-table-export.js"></script>
<!-- treeview -->
<script src="../../plugins/treeview/bootstrap-treeview.min.js"></script>
<!-- AdminLTE App -->
<script src="../../plugins/AdminLTE/dist/js/app.min.js"></script>
<script src="../../statics/js/manage-user.js"></script>
</body>
</html>
